package org.jiangnantaste.dao;

import java.sql.Connection;
import java.util.List;

import org.jiangnantaste.domain.Image;

public interface ImageDao {
	public boolean addImage(Connection connection,Image imageimage) throws Exception;
	public boolean updateImage(Connection connection,Image image) throws Exception;
	public boolean deleteImage(Connection connection,long id) throws Exception;
	public List<Image> listAllImage(Connection connection) throws Exception; 
	public Image findImageByImageId(Connection connection,long id) throws Exception;
}
